package com.appspot.mypartymanager.dao;

import java.util.List;

import com.appspot.mypartymanager.entity.party.Party;
import com.appspot.mypartymanager.exception.InvalidPartyException;

public interface PartyDAO {
	
	public void createParty(Party newParty) throws InvalidPartyException;
	
	public Party getPartyById(Long id);
	
	public List<Party> getPartysByUser(String ownerUserGoogleAcount);
	
	public void deleteParty(Long id);
	
	public void updateParty(Party partyToUpdate) throws InvalidPartyException;
		
}
